<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>创客英雄</title>
<script src="http://how2j.cn/study/js/jquery/2.0.0/jquery.min.js"></script>
<link href="__TMPL__Portal/assets/css/ckyx.css" rel="stylesheet">
<script src="__TMPL__Portal/assets/js/ckyx.min.js"></script>
<link href="__TMPL__Portal/assets/css/main.css" rel="stylesheet">
</head>

<body>
<!--header-->
<tc_include file="Portal:head" />
<div class="nav_box">
    <div class="container">
        <div class="row">
            <a class="logo col-md-2" href="index.html">
                <img src="__TMPL__Portal/assets/images/logo.png">
            </a>
            <tc_include file="Portal:nav" />
        </div>
    </div>
</div>

<!--banner_2-->
<div class="container banner_2">
	<img src="__TMPL__Portal/assets/images/zsxc.png">
</div>

<!--main3-->
<div class="container main3_box">
	<div class="ysbkbt">
        <div>{$name}</div>
    </div>
	<div class="main1_left main3">
		<div class="twbk">        	
            <div class="twbknr1 row twbknr3">
                <php>
                    $lists = sp_sql_posts_paged("cid:$cat_id;order:post_date DESC;", 12);
                </php>
                <volist name="lists['posts']" id="vo">
                    <php>
                        $smeta = json_decode($vo['smeta'], true);
                    </php>
                    <div class="wlcxnr">
                        <div>
                            <a href="{:leuu('article/index',array('id'=>$vo['object_id'],'cid'=>$vo['term_id']))}" class="nrxt"><img src="{:sp_get_asset_upload_path($smeta['thumb'])}"></a>
                            <a href="{:leuu('article/index',array('id'=>$vo['object_id'],'cid'=>$vo['term_id']))}" class="twnrdj">
                                <h2>{$vo.post_title}</h2>
                                <p class="pp"><php>echo strip_tags($vo['post_content'])</php></p>
                            </a>
                        </div>
                    </div>
                </volist>
            </div>
            <div class="pages">
                <ul>{$lists['page']}</ul>
            </div> 
        </div>
    </div>    
</div>

<!--页脚-->
<tc_include file="Portal:footer" />

</body>
</html>
